import { createApp } from "vue";
import "./assets/main.css";
import "./assets/icon.css";
import router from "./router";
import { createPinia } from "pinia";
import "element-plus/dist/index.css";
import App from "./App.vue";
import { regAllDirective } from "./utils/directive/index";

const pinia = createPinia();
const app = createApp(App);

app.use(router);
app.use(pinia);
regAllDirective(app);

// 防抖
app.mount("#app");
